package main

import "fmt"

//...的语法，和php一样

func test(v ...int) {
	for _, value := range v {
		fmt.Println(value)
	}
}

func test2(v ...interface{}) {
	for _, value := range v {
		fmt.Println(value)
	}
}

func main() {
	test(1, 3, 5)
	fmt.Println("---------")
	test2(1, "aaa", 33.55)
}
